<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- 通过v-show的boolean值，决定元素是否显示 -->
			<img src="../images/earth.png" v-show="isshow" >
			<img src="../images/user.png" v-show="notshow">
		</div>
		
		<script src="../js/vuejs-2.5.16.js" type="text/javascript" charset="utf-8"></script>
		
		<script type="text/javascript">
			const vue = new Vue({
				el: "#app",
				data: {
					isshow: true,
					notshow: false
				}
			})
		</script>
	</body>
</html>
